<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use DB;
class Control extends Model
{
  public function data()
  {
    $data = DB::table('control')->where(['name','password'])->get();
    return $data;
  }

}
